import { createApp } from "vue";
import { createPinia } from "pinia";
// import request from './http';
import App from "./App.vue";
import router from "./router";
import "./utils/isMobile";

import "./assets/scss/global.scss";

import ElementPlus from "element-plus";
import "element-plus/dist/index.css";

const app = createApp(App);

// app.config.globalProperties.$http = request

app.use(router);
app.use(createPinia());
app.use(ElementPlus);
app.mount("#app");

import "./router/permission";
